cmake_minimum_required(VERSION 3.21)
project(Front_Match)

set(CMAKE_CXX_STANDARD 14)

find_package(OpenCV REQUIRED)
find_package(Ceres REQUIRED)

INCLUDE_DIRECTORIES(
        include
        ${OPENCV_INCLUDE_DIRS}
        ${CERES_INCLUDE_DIRS}
        ${EIGEN3_INCLUDE_DIRS}
)

add_executable(Front_Match
        src/FeatureMatch.cpp
        src/Trangulate.cpp src/tutorial.cpp)

target_link_libraries(
        Front_Match
        ${OpenCV_LIBS}
        ${Ceres_LIBS}
)
